<%@ Page Title="" Language="C#" MasterPageFile="~/Views/Shared/Site.Master" Inherits="System.Web.Mvc.ViewPage<PersonalAlbumModel>" %>

<asp:Content ID="Content1" ContentPlaceHolderID="MainContent" runat="server">
    <span class="errorMessage">
        <%=Html.Encode( Model.ErrorMessage)%></span>
    <h2>
        <%=Model.Localize("EditHomePage") %></h2>
    <%using (Html.BeginForm())
      { %>
      <%--Html. AntiForgeryToken() --%>
    <div>
        <%=Html.TextArea("Content",""+ViewData["Content"]) %></div>
    <input type="submit" value="<%=Model.Localize("Submit") %>" />
    <%} %>

    <script src="<%=Html.AbsolutePath("HtmlEditor/fckeditor.js") %>" type="text/javascript"></script>

    <script type="text/javascript">
        window.onload = function() {
            var oFCKeditor = new FCKeditor('Content');
            oFCKeditor.BasePath = '<%=Html.AbsolutePath("HtmlEditor") %>/';
            oFCKeditor.ReplaceTextarea();
            oFCKeditor.Height = 599;
        }
    </script>

</asp:Content>
